package com.fjzx.androidframe.ui.xrecyclerview;

import android.support.v4.widget.SwipeRefreshLayout;

public class SwipeRefreshLayoutOnRefresh implements SwipeRefreshLayout.OnRefreshListener {
    private XRecyclerView mPullLoadMoreRecyclerView;

    public SwipeRefreshLayoutOnRefresh(XRecyclerView pullLoadMoreRecyclerView) {
        this.mPullLoadMoreRecyclerView = pullLoadMoreRecyclerView;
    }

    @Override
    public void onRefresh() {
        mPullLoadMoreRecyclerView.refresh();
    }
}
